package org.aaron.demos;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Example_AndroidActivity extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
	}

	public void DoingBtnListener(View view) {
		Intent intent = new Intent();
		switch (view.getId()) {
		case R.id.progress_activity_btn:
			intent.setClass(this, ProgressActivity.class);
			this.startActivity(intent);
			break;
		case R.id.listview_activity_btn:
			intent.setClass(this, ListViewActivity.class);
			this.startActivity(intent);
			break;
		case R.id.Handler2Activity:
			intent.setClass(this, Handler2Activity.class);
			this.startActivity(intent);
			break;
		case R.id.SqlLiteActivity:
			intent.setClass(this, SqliteActivity.class);
			this.startActivity(intent);
			break;
		case R.id.FileDownLoadActivity:
			intent.setClass(this, FileDownLoadActivity.class);
			this.startActivity(intent);
			break;
		case R.id.ContentProviderActivity:
			intent.setClass(this, ContentProviderActivity.class);
			this.startActivity(intent);
			break;
		case R.id.XmlParseActivity:
			intent.setClass(this, XmlParseActivity.class);
			this.startActivity(intent);
			break;
		case R.id.BroadcastActivity:
			intent.setClass(this, BroadcastActivity.class);
			this.startActivity(intent);
			break;
		case R.id.Broadcast2Activity:
			intent.setClass(this, Broadcast2Activity.class);
			this.startActivity(intent);
			break;
		case R.id.WifiActivity:
			intent.setClass(this, WifiActivity.class);
			this.startActivity(intent);
			break;
		case R.id.ServiceActivity:
			intent.setClass(this, ServiceActivity.class);
			this.startActivity(intent);
			break;
		case R.id.SpinnerActivity:
			intent.setClass(this, SpinnerActivity.class);
			this.startActivity(intent);
			break;
		case R.id.MyExpandableListActivity:
			intent.setClass(this, MyExpandableListActivity.class);
			this.startActivity(intent);
			break;
		case R.id.MyAnimationsActivity:
			intent.setClass(this, AnimationsActivity.class);
			this.startActivity(intent);
			break;
		case R.id.GsonActivity:
			intent.setClass(this, GsonActivity.class);
			this.startActivity(intent);
			break;
		case R.id.BlueToothActivity:
			intent.setClass(this, BlueToothActivity.class);
			this.startActivity(intent);
			break;
		case R.id.LocationActivity:
			intent.setClass(this, LocationActivity.class);
			this.startActivity(intent);
			break;
		case R.id.MapViewActivity:
			intent.setClass(this, MapViewActivity.class);
			this.startActivity(intent);
			break;
		case R.id.SensorManagerActivity:
			intent.setClass(this, SensorManagerActivity.class);
			this.startActivity(intent);
			break;
		case R.id.CanvasActivity:
			intent.setClass(this, CanvasActivity.class);
			this.startActivity(intent);
			break;
		case R.id.HandDrawActivity:
			intent.setClass(this, HandDrawActivity.class);
			this.startActivity(intent);
			break;	
		default:
			break;
		}
	}

}